(read_char_minibuf_menu_prompt): Don't list equivalent key bindings here.
authorRichard M. Stallman <rms@gnu.org>
Mon, 20 May 2002 14:49:57 +0000 (14:49 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 20 May 2002 14:49:57 +0000 (14:49 +0000)
src/keyboard.c

index 25e0c69af1d28242dd6c6b9efb8c9fe53b037847..ffc868408658e795380e297df10d5555756f170e 100644 (file)
@@ -7727,12 +7727,14 @@ read_char_minibuf_menu_prompt (commandflag, nmaps, maps)
                  if (! char_matches)
                    desc = Fsingle_key_description (event, Qnil);
 
+#if 0  /* It is redundant to list the equivalent key bindings because
+         the prefix is what the user has already typed.  */
                  tem
                    = XVECTOR (item_properties)->contents[ITEM_PROPERTY_KEYEQ];
                  if (!NILP (tem))
                    /* Insert equivalent keybinding. */
                    s = concat2 (s, tem);
-
+#endif
                  tem
                    = XVECTOR (item_properties)->contents[ITEM_PROPERTY_TYPE];
                  if (EQ (tem, QCradio) || EQ (tem, QCtoggle))